package app;


import app.datavalue.DeliveryRepMsgInfo;
import app.model.IMessageStorage;
public class DeliveryNotifHandleCommand extends BaseHandleCommand {

	
	
	
	/**
	 * @directed true
	 */
	
	private IMessageStorage storage;

	
	//String messageId;
	
	DeliveryRepMsgInfo deliveryMsgInfo;
	
	public DeliveryNotifHandleCommand( DeliveryRepMsgInfo deliveryMsgInfo, IMessageStorage storage )
	{
		//this.messageId = messageId;
		this.storage = storage;
		this.deliveryMsgInfo = deliveryMsgInfo;
	}
	
	@Override
	protected void doHandle() 
	{
		//DeliveryRepMsgInfo deliveryMsgInfo = new DeliveryRepMsgInfo();
		//deliveryMsgInfo.setExternalId(messageId);
		
		storage.updateDeliveryReportInfo( deliveryMsgInfo );
		
	} 

}
